export interface ResponseData {
  code: number
  message: string
  ok: boolean
}

export interface LoginData {
  code: string
  phone: string
}

export interface UserInfo {
  token: string
  name: string
}

export interface LoginResponseData extends ResponseData {
  data: UserInfo
}

// 微信二维码
export interface WxLogin {
  redirectUri: string
  appid: string
  scope: string
  state: string
}

export interface WxLoginResponseData extends ResponseData {
  data: WxLogin
}
